import { Post, Del, Get } from '@/utils/axios/request'

const prefix = '/v1/comment'
export const _createComment = (params: any) => {
	return Post(prefix + '/', params)
}

export const _deleteComment = (params: any) => {
	return Del(prefix + '/', params)
}

export const _getComments = (params: any) => {
	return Post(prefix + '/list', params)
}

export const _getComment = (params: any) => {
	return Get(prefix + '/', params)
}
